Skip to content

Comments

Dual porosity improvements#13635

Merged
magnesj merged 3 commits intoOPM:devfrom
magnesj:dual-porosity-improvements
Feb 20, 2026
Merged

Dual porosity improvements#13635
magnesj merged 3 commits intoOPM:devfrom
magnesj:dual-porosity-improvements

Conversation

@magnesj
Copy link
Member

@magnesj magnesj commented Feb 20, 2026

Closes #13626

Move transmissibility calculation logic (TransmissibilityData,
connection factor computation, non-Darcy flow calculations) from
RicWellPathExportCompletionDataFeatureImpl into a dedicated
RicTransmissibilityCalculator class. Add unit tests for the
extracted calculator.
For dual porosity models, the first N K-layers represent MATRIX and
K-layers N+1 to 2N represent FRACTURE. Shift K to the fracture section
at production points so exported completion data (COMPDAT, WPIMULT,
COMPLUMP, COMPSEGS) references the correct K-layer. Subtract the offset
in LGR bounding box computation where original grid K is needed.
Improves the handling and display of dual porosity results by:

- Adds an option to display a dual porosity label in the UI tree, clarifying the porosity model being used.
- Adjusts the K index calculation for the fracture porosity model in relative permeability plots, ensuring correct indexing.
- Adds a warning message when plotting relative permeability curves for fracture cells since it is not fully supported.
- Replaces direct checks for dual-porosity results with checks against the main grid to determine dual porosity for UI element display.
@magnesj magnesj requested a review from kriben February 20, 2026 07:11
Copy link
Collaborator

@kriben kriben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@magnesj magnesj merged commit 441a0d4 into OPM:dev Feb 20, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Well Completion: Use Fracture properties and K-indexes for dual porosity models

2 participants